/**
 * @ProjectName: Trie
 * @Package: PACKAGE_NAME
 * @ClassName: Main
 * @Author: zxh
 * @Description:
 * @Date: 2022/1/22 10:07
 * @Version: 1.0
 */
public class Main {
    public static void main(String[] args) {
        Trie trie = new Trie();
        trie.insert("abc");
        trie.insert("abd");
        System.out.println(trie.prefixNumber("ab"));
        trie.delete("abc");
        System.out.println(trie.prefixNumber("ab"));
    }
}
